#ifndef INC_PATIENT
#define INC_PATIENT

#include <string>
#include <iostream>
#include <sqlite3.h>

#include "itos.h"

using namespace std;

class Patient {
	private:

		string name;
	    string personnummer;
		short gender;
		
	    int db_id;


    public:
		Patient () {};
		Patient (char *name, char *personnummer, short gender);
		
		void setName(string name) {this->name = name; }
		void setPersonnummer(string personnummer) {this->personnummer = personnummer; }
		void setDBID(int id) {this->db_id = id; }
		void setGender(short gender) {this->gender = gender; }

		string getName() {return this->name; }
		string getPersonnummer() {return this->personnummer; }
		int getDBID() {return this->db_id; }
		short getGender() {return this->gender; }
		
		void inputData();
		void describePatient();

};

#endif
